package com.poizon.service.impl;

import com.poizon.dao.SmsLogDao;
import com.poizon.entity.SmsLog;
import com.poizon.service.intf.SmsLogService;
import org.springframework.stereotype.Service;

/**
 * @ClassName SmsLogServiceImpl
 * @Author NoCheng
 * @Date 2022/1/2 15:33
 * @Description:TODO 验证码日志业务实现层
 */

@Service
public class SmsLogServiceImpl implements SmsLogService {
    private final SmsLogDao dao;

    public SmsLogServiceImpl(SmsLogDao dao) {
        this.dao = dao;
    }


    @Override
    public void insert(SmsLog smsLog) {
        dao.insert(smsLog);
    }
}
